package lu.test;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.database.Cursor;

public class MenuClassInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6158037416096399996L;
	
	private int id; // ObjectID
	private String name;// 菜品分类名
	private String icon;//图标

	public String getIcon() {
		if (icon == null || icon == "")
			icon = "ic_best";
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**********************************************************/


	@Override
	public boolean equals(Object o) {
		return this.id == ((MenuClassInfo) o).getId();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
